Don't hide widgets in dispose()
authorMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2020 20:07:07 +0000 (15:07 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 Nov 2020 15:35:54 +0000 (10:35 -0500)
commit27c4c19333af35e15f834ecc1cde3ad2cb94b6e3
tree678e06d5662532e2c663fc7f2958f3166e8c6918
parent74a7f73239af76d06015d166fc51894059bfb24e
Don't hide widgets in dispose()

This is leftover code from when widgets were hidden
by default, and was setting them back to their initial
state.

This is getting in the way now, as hiding the widget
updates the HIDDEN accessible state, which ends up
re-creating the at context that we've already disposed
of, leading to memory leaks.
gtk/gtkwidget.c